import { sm2 } from "sm-crypto-v2";
const publicKey = "0484C7466D950E120E5ECE5DD85D0C90EAA85081A3A2BD7C57AE6DC822EFCCBD66620C67B0103FC8DD280E36C3B282977B722AAEC3C56518EDCEBAFB72C5A05312"


export const doEncrypt = (text) => sm2.doEncrypt(text, publicKey, 1)
